export const pageMixin = {
	data(){
		return{
			all_data_num:0,
			
			tableData: [],
			tableLoading: false,
			multipleSelection: []
		}
	},
	created(){
		this.getData()
	},
	methods:{
		handleSizeChange(size){
			this.params.page_num = 1
			this.params.page_size = size
			this.getData()
		},
		handleCurrentChange(page){
			this.params.page_num = page
			this.getData()
		},
		searchData(){
		  this.params.page_num = 1
		  this.getData()
		},
		handleSelectionChange(val){
			this.multipleSelection = val
		}
	}
}